package com.wuseguang.springcloud.service.impl;


import com.wuseguang.springcloud.entity.*;
import com.wuseguang.springcloud.service.DataManageMentClientService;
import com.wuseguang.springcloud.util.Result;
import feign.hystrix.FallbackFactory;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;


@Component
public class DataManageMentClientServiceFallbackFactory implements FallbackFactory<DataManageMentClientService> {


    @Override
    public DataManageMentClientService create(Throwable throwable) {
        return new DataManageMentClientService() {
            @Override
            public Result delete(int id) {
                return null;
            }

            @Override
            public Result add(School school) {
                return null;
            }

            @Override
            public Result update(School school) {
                return null;
            }

            @Override
            public Result findOne() {
                return null;
            }

            @Override
            public Result queryFunction() {
                return null;
            }

            @Override
            public Result queryFunctionFindAll(Integer type) {
                return null;
            }

            @Override
            public Result addFunction(Integer[] ids) {
                return null;
            }

            @Override
            public Result headTeacHerandTeaching() {
                return null;
            }

            @Override
            public Result teachingClassesfindAll() {
                return null;
            }

            @Override
            public Result onefindClass(String classid) {
                return null;
            }

            @Override
            public Result updateClass(String classid, String classicon, String classname, String slogan) {
                return null;
            }

            @Override
            public Result queryOrganizationalStructure() {
                return null;
            }

            @Override
            public Result queryeDucation() {
                return null;
            }

            @Override
            public Result batchAddition(String education_id) {
                return null;
            }

            @Override
            public Result addDepartment(String departmentname) {
                return null;
            }

            @Override
            public Result updateDepartment(String id, String departmentname) {
                return null;
            }

            @Override
            public Result delDepartment(String id) {
                return null;
            }

            @Override
            public Result addGradet(String education_id) {
                return null;
            }

            @Override
            public Result delGrade(String id) {
                return null;
            }

            @Override
            public Result updateGrade(String name, String id) {
                return null;
            }

            @Override
            public Result updateClass(String name, String id) {
                return null;
            }

            @Override
            public Result delClass(String id) {
                return null;
            }

            @Override
            public Result addClass(String name, String grade_id) {
                return null;
            }

            @Override
            public Result batchUpDateClass(ClassesList list) {
                return null;
            }

            @Override
            public Result querySubjects() {
                return null;
            }

            @Override
            public Result addSubjects(String name) {
                return null;
            }

            @Override
            public Result updateSubjects(String id, String name) {
                return null;
            }

            @Override
            public Result delSubjects(String id) {
                return null;
            }

            @Override
            public Result querySubjectsById(String id) {
                return null;
            }

            @Override
            public Result queryBanCardAll(String gradeid, String classid, String state, String deviceid) {
                return null;
            }

            @Override
            public Result updateBancardShutdown(String bancardids) {
                return null;
            }

            @Override
            public Result updateUpgradeflag(String upgradeurl, String bancardids) {
                return null;
            }

            @Override
            public Result updateBancardRestartflag(String bancardids) {
                return null;
            }

            @Override
            public Result updateBancardScreenflag(String bancardids) {
                return null;
            }

            @Override
            public Result updatepassword(String bancardids, String password) {
                return null;
            }

            @Override
            public Result updateVolume(String bancardids, String volume) {
                return null;
            }

            @Override
            public Result delBancard(String bancardids) {
                return null;
            }

            @Override
            public Result queryDeviceType() {
                return null;
            }

            @Override
            public Result queryClassRoomAll() {
                return null;
            }

            @Override
            public Result queryHolidayAll(String bancardid) {
                return null;
            }

            @Override
            public Result queryHolidayUse(String bancardid) {
                return null;
            }

            @Override
            public Result updateBancardTime(String bancardids, String monday, String tuesday, String wednesday, String thursday, String friday, String saturday, String sunday) {
                return null;
            }

            @Override
            public Result batchAddHoliday(HolidayList holidayList) {
                return null;
            }

            @Override
            public Result updateDevicTypeorclassroom(String bancardid, String classroomid, String deviceType, String deviceid) {
                return null;
            }

            @Override
            public Result batchupdateDevicType(String bancardids, String deviceType) {
                return null;
            }

            @Override
            public Result addDevicTypeorclassroom(String deviceid, String classroomid, String deviceType) {
                return null;
            }

            @Override
            public Result queryDanCardIds(String classids) {
                return null;
            }

            @Override
            public Result queryEquipmentClassesAll() {
                return null;
            }

            @Override
            public Result getVersionNumber(MultipartFile file, String bancardids) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportLessonTemplate(Integer type) {
                return null;
            }

            @Override
            public Result addClassDay(Integer day, Integer second, String[] classTime) {
                return null;
            }

            @Override
            public Result searchTimetable(String timetable) {
                return null;
            }

            @Override
            public Result addTimetable(String timetable) {
                return null;
            }

            @Override
            public Result findClassTimetable(String classid) {
                return null;
            }

            @Override
            public Result findTecherTimetable() {
                return null;
            }

            @Override
            public Result findAllStudent(Integer classId, String stuName, String phone, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result deleteStudent(Integer id) {
                return null;
            }

            @Override
            public Result addStudent(Student student) {
                return null;
            }

            @Override
            public Result batchAdditionStudent(String student) {
                return null;
            }

            @Override
            public Result resetAllStudentPwd(String onePassWord, String twoPassWord) {
                return null;
            }

            @Override
            public Result resetStudentPwd(Integer id, String onePassWord, String twoPassWord) {
                return null;
            }

            @Override
            public Result updateStudent(Student student) {
                return null;
            }

            @Override
            public Result findTeacherAll(String name, String phone, Integer id, Integer type, Integer roleId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result deleteTeacherByid(String id) {
                return null;
            }

            @Override
            public Result updateTeacherPassword(Integer id, String onePassWord, String twoPassWord) {
                return null;
            }

            @Override
            public Result updateAllTeacherPassword(String onePassWord, String twoPassWord) {
                return null;
            }

            @Override
            public Result teacherDetection(String teacher) {
                return null;
            }

            @Override
            public Result batchAdditionTeacher(String teacher) {
                return null;
            }

            @Override
            public Result addTeacher(Teacher teacher) {
                return null;
            }

            @Override
            public Result testStudentData(String student) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportStudentTemplate() {
                return null;
            }

            @Override
            public Result updateTeacher(Teacher teacher) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportTeacherTemplate() {
                return null;
            }

            @Override
            public Result findSchoolRoles(Integer type) {
                return null;
            }

            @Override
            public Result findSchoolDepartment(Integer type) {
                return null;
            }

            @Override
            public Result queryClassRoomAll(Integer indexNo, Integer rows, String classid, String classroomname) {
                return null;
            }
            @Override
            public Result delClassRoom(Integer classroomid) {
                return null;
            }

            @Override
            public Result updateClassRoom(Integer classroomid, String classid, String classroomname, String remarks) {
                return null;
            }

            @Override
            public Result updateClassRoom(Integer classid) {
                return null;
            }

            @Override
            public Result addClassRoom(String classid, String classroomname, String remarks) {
                return null;
            }

            @Override
            public Result addClassPictures(String name, Integer show, Integer pshow, Integer[] classId, String pictyresUrl) {
                return null;
            }

            @Override
            public Result roofPlacementPictures(String id) {
                return null;
            }

            @Override
            public Result deletePictures(String id) {
                return null;
            }

            @Override
            public Result findClassPictureList(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result queryClassDutyAll(Integer classid) {
                return null;
            }

            @Override
            public Result addClassDuty(ClassDutyList classDutyList) {
                return null;
            }

            @Override
            public Result findStudentByClassId(Integer classid) {
                return null;
            }

            @Override
            public Result autoImportDuty(Integer classId, Integer x, Integer y) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportDuty(Integer classId) {
                return null;
            }

            @Override
            public Result queryAttendAll(String sid, String attend_groupid, String starttime, String endtime, String classids) {
                return null;
            }

            @Override
            public Result queryAttendClassidState() {
                return null;
            }

            @Override
            public Result queryAttendGroup() {
                return null;
            }

            @Override
            public Result queryAttendGroupAll(String name) {
                return null;
            }

            @Override
            public Result delAttendGroupById(String id) {
                return null;
            }

            @Override
            public Result queryAttendGroupById(String id) {
                return null;
            }

            @Override
            public Result addAttendGroup(AttendGroup attendGroup) {
                return null;
            }

            @Override
            public Result updateAttendGroup(AttendGroup attendGroup) {
                return null;
            }

            @Override
            public Result queryAttendShiftAll() {
                return null;
            }

            @Override
            public Result queryAttendShiftById(String id) {
                return null;
            }

            @Override
            public Result updateAttendShiftById(AttendShift attendShift) {
                return null;
            }

            @Override
            public Result addAttendShiftById(AttendShift attendShift) {
                return null;
            }

            @Override
            public Result delAttendShiftById(String id) {
                return null;
            }

            @Override
            public Map<String, Object> downloadAttend(String sid, String attend_groupid, String starttime, String endtime, String classids) throws IOException {
                return null;
            }

            @Override
            public Result findSchoolDepartmentStudent() {
                return null;
            }

            @Override
            public Result queryClassCallList(Integer gradeId, Integer classId, String startTime, String endTime, String name, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportTeacher() {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportStudent(Integer classId) {
                return null;
            }

            @Override
            public Result findNoClass(Integer gradeId) {
                return null;
            }

            @Override
            public Result findNoGrade() {
                return null;
            }

            @Override
            public Result findClasses(Integer gradeId) {
                return null;
            }

            @Override
            public Result findGrade() {
                return null;
            }

            @Override
            public Result findClassNoticeList(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result addNotice(String[] classId, String content, String url, Integer show, Integer pshow, Integer state, String annex, String website) {
                return null;
            }

            @Override
            public Result deleteNotice(String id) {
                return null;
            }

            @Override
            public Result findClassVideoList(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result deleteVideo(String id) {
                return null;
            }

            @Override
            public Result roofPlacementVideo(String id) {
                return null;
            }

            @Override
            public Result addClassVideo(String name, Integer show, Integer pshow, Integer[] classId, String videoUrl, String videoCover) {
                return null;
            }

            @Override
            public Result findEvaluationLabel() {
                return null;
            }

            @Override
            public Result addEvaluationLabel(EvaluationLabel evaluationLabel) {
                return null;
            }

            @Override
            public Result addEvaluationModel(EvaluationModel evaluationModel) {
                return null;
            }

            @Override
            public Result findEvaluationModel() {
                return null;
            }

            @Override
            public Result deleteEvaluationModel(Integer id) {
                return null;
            }

            @Override
            public Result findClassIdGroup(Integer classId) {
                return null;
            }

            @Override
            public Result addClassIdGroup(ClassGroup classGroup) {
                return null;
            }

            @Override
            public Result findScoreDisplayRules() {
                return null;
            }

            @Override
            public Result addAndUpdateScoreDisplayRulesTeacher(Integer scoreDisplayRulesId) {
                return null;
            }

            @Override
            public Result findScoreItem() {
                return null;
            }

            @Override
            public Result addScoreItem(ScoreItem scoreItem) {
                return null;
            }

            @Override
            public Result deleteScoreItem(Integer id) {
                return null;
            }

            @Override
            public Result updateScoreItem(ScoreItem scoreItem) {
                return null;
            }

            @Override
            public Result findClassEvaluationScore(Integer classId) {
                return null;
            }

            @Override
            public Result addStudentEvaluationScore(Integer[] studentId, Integer scoreItemId, String name, Integer fraction, String content, Integer type, Integer classId, Integer groupId) {
                return null;
            }

            @Override
            public Result findClassDay() {
                return null;
            }

            @Override
            public Result findHomework(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result addHomework(Homework homework) {
                return null;
            }

            @Override
            public Result deleteHomework(Integer id) {
                return null;
            }

            @Override
            public Result upload(MultipartFile file, int type) {
                return null;
            }

            @Override
            public Result addSutdentFaces(StudentFaces studentFaces) {
                return null;
            }

            @Override
            public Result delateStudentFaces(Integer studentId, Integer classId) {
                return null;
            }

            @Override
            public Result stuentFacesRegister(int[] classId) {
                return null;
            }

            @Override
            public Result findClassStudentFaces(Integer classid) {
                return null;
            }

            @Override
            public Result importClassEvaluationItems(Integer classId, Integer[] scoreItemId, Integer type) {
                return null;
            }

            @Override
            public Result findScoreItemType(Integer classId, Integer type) {
                return null;
            }

            @Override
            public Result findTecherClassScoreItem(Integer classId) {
                return null;
            }

            @Override
            public Result checkContentAndPic(String content, MultipartFile file, Integer type) {
                return null;
            }

            @Override
            public Result queryStudentVacationAll(Integer classId, Integer state, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result updateStudentVacationState(Integer id, Integer state) {
                return null;
            }

            @Override
            public Result findStudentInAndOut(Integer classId) {
                return null;
            }

            @Override
            public Result addSchoolAchievement(String list, String name) {
                return null;
            }

            @Override
            public Result querySchoolAchievement(Integer indexNo, Integer rows, String name) {
                return null;
            }

            @Override
            public Result delSchoolAchievement(Integer id) {
                return null;
            }

            @Override
            public Result querySchoolAchievementById(Integer id) {
                return null;
            }

            @Override
            public Result updateAchievementStudent(Integer id, String classId) {
                return null;
            }

            @Override
            public Result queryCourseList(Integer id) {
                return null;
            }

            @Override
            public Result querySubjectsAll() {
                return null;
            }

            @Override
            public Result updateAchievementCourse(Integer id, Integer total_score, Integer state) {
                return null;
            }

            @Override
            public ResponseEntity<byte[]> exportAchievement(Integer id) {
                return null;
            }

            @Override
            public Result queryScoreStatistics(Integer id) {
                return null;
            }

            @Override
            public Result batchAdditionAchievement(String list, Integer id) {
                return null;
            }

            @Override
            public Result sendParent(Integer id) {
                return null;
            }

            @Override
            public Result updateEvaluationModel(EvaluationModel evaluationModel) {
                return null;
            }

            @Override
            public Result deleteEvaluationLabel(Integer id) {
                return null;
            }

            @Override
            public Result deleteClassGroup(Integer id) {
                return null;
            }

            @Override
            public Result findClassPerformance(Integer classId, Integer type, Integer findType, String startTime, String endTime) {
                return null;
            }

            @Override
            public Result deltePerformanceScore(Integer id) {
                return null;
            }

            @Override
            public Result findPersonalPerformance(Integer studentId, Integer findType, String startTime, String endTime) {
                return null;
            }

            @Override
            public Result deleteTextEvaluation(Integer id) {
                return null;
            }

            @Override
            public Result findSchoolFaces(Integer classId, Integer indexNo, Integer rows, Integer type) {
                return null;
            }


            @Override
            public Result synchronizeFaces(Integer classId) {
                return null;
            }

            @Override
            public Result updateClassGroup(ClassGroup classGroup) {
                return null;
            }

            @Override
            public Result findDateTimetable(String time) {
                return null;
            }

            @Override
            public Result addExaminationRoom(ExaminationRoom examinationRoom) {
                return null;
            }

            @Override
            public Result findExaminationRoom(String name) {
                return null;
            }

            @Override
            public Result delteExaminationRoom(Integer id) {
                return null;
            }

            @Override
            public Result openTheExaminationRoom(Integer id, Integer pattern) {
                return null;
            }

            @Override
            public Result findExamsByExaminationRoomId(Integer examinationRoomId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result deleteExamsById(Integer id) {
                return null;
            }

            @Override
            public Result addExams(Exams exams) {
                return null;
            }

            @Override
            public Result updateExams(Exams exams) {
                return null;
            }

            @Override
            public Result addTextEvaluation(TextEvaluation textEvaluation) {
                return null;
            }

            @Override
            public Result findClassEvaluationScoreTwo(Integer classId, Integer findType,  String startTime,String endTime) {
                return null;
            }

            @Override
            public Result delteTecherClassScoreItem(Integer id) {
                return null;
            }

            @Override
            public Result addActivity(Activity activity) {
                return null;
            }

            @Override
            public Result findEnrolledStudentByActivityId(Integer id, String classId, Integer quota) {
                return null;
            }

            @Override
            public Result findActivity(String title, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findInAndOutStatistics() {
                return null;
            }

            @Override
            public Result findPicturesVideoNotice(Integer findType, String startTime, String endTime) {
                return null;
            }

            @Override
            public Result addQuestionnaire(Questionnaire questionnaire) {
                return null;
            }

            @Override
            public Result findQuestionnaire() {
                return null;
            }

            @Override
            public Result findJurisdictionStudent() {
                return null;
            }

            @Override
            public Result deleteActivityId(Integer id) {
                return null;
            }

            @Override
            public Result findTeacherScoringStatistics(Integer teacherId, Integer findType, String startTime, String endTime) {
                return null;
            }

            @Override
            public Result findShcoolTeacher() {
                return null;
            }
        };
    }
}